<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
	
	$(function(){
		$('#file_upload').uploadify({
		  'uploader'    : 'uploadify.swf',
		  'script'      : 'uploadify.php',
		  'cancelImg'   : 'cancel.png',
		  'folder'      : 'uploads',

		  'removeCompleted' : false,
			'multi'           : true,
			'fileExt'     : '*.jpg;*.gif;*.png',
			'fileDesc'    : 'Image Files',
			 'queueSizeLimit' : 3
		});
	});	
</script>

<input type="file" id="file_upload" name="file_upload" />
<a href="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a>
